<h3>Core update</h3>

<p>
	The install tool can automatically update the TYPO3 CMS core to its latest
	minor release if certain criteria are met.
</p>

<div id="coreUpdate">
	<f:if condition="{enableCoreUpdate}">
		<f:then>
			<div id="messageTemplate">
				<div class="t3js-message typo3-message alert">
					<h4></h4>
					<p class="messageText"></p>
				</div>
				<p></p>
			</div>
			<div id="buttonTemplate">
				<fieldset class="t3-install-form-submit">
					<button class="btn btn-default" type="submit" name="coreUpdateCheckForUpdate" data-action="checkForUpdate">
							Check for core updates
					</button>
				</fieldset>
			</div>
		</f:then>
		<f:else>
			<div class="typo3-message alert alert-notice">
				<div class="header-container">
					<div class="message-header">
						<strong>Disabled</strong>
					</div>
				</div>
				<div class="message-body">
					This feature is disabled in this installation.<br />
					<f:if condition="{composerMode}">
						<f:then>
							(Composer Mode is active. Please update using composer commands.)
						</f:then>
						<f:else>
							(The environment variable was set <code>TYPO3_DISABLE_CORE_UPDATER=1</code>.)
						</f:else>
					</f:if>
				</div>
			</div>
		</f:else>
	</f:if>
</div>
